package com.sciai.common;

/**
 * TODO lb <类名>
 *
 * @author tqx
 * @version 1.0.0.0
 * <p>Title: CommonConstant </p >
 * <p>Description: TODO tqx </p >
 * Package: com.sciai.common
 * Company: 沪渝研究院
 * Copyright: Copyright(c) AI+X
 * Date: 2023年06月06日 11:02
 */
public interface CommonConstant {


    String SESSION_USER_KEY = "user-info";
    // 翻译消息缓存
   long CHAT_MESSAGE_CONFIRM = (60);

    //用户账号是否删除状态常量值
    final class SysLoginUserActive {
        /**
         * 已经删除
         */
        public final static Integer Deleted = 1;
        /**
         * 未删除
         */
        public final static Integer Active =0;

    }
    public final static class FileModule {   //上传到minIo文件服务器的路径 模块节点常量值
        /**
         * 音频翻译模块
         */
        public final static String TranslationVideo = "TranslationVideo";



    }

    public final static class TransStatus {   //翻译会议状态
        /**
         * 进行中
         */
        public final static Integer Doing = 1;

        /**
         * 完成
         */
        public final static Integer Finish = 2;

        /**
         * 待结束
         */
        public final static Integer ToBeConcluded= 3;


    }
    //算法状态常量值
    public final static class AlgorithmStatus {
        /**
         * 开始
         */
        public final static String algorithmStart = "start";

        /**
         * 结束
         */
        public final static String algorithmEnd = "end";

        /**
         * 翻译中
         */
        public final static String algorithmStream = "stream";

        /**
         * 调用算法处理异常
         */
        public final static String algorithmError = "error";


        /**
         * 调用算法处理 为空或者非法数据的错误返回记录日志
         */
        public final static String algorithmNone = "none";



    }
    //算法返回结构集里面的操作类型
    public final static class AlgorithmPolicy {
        /**
         * 正常操作 不需要合并第一条
         */
        public final static String normal = "normal";

        /**
         * 需要合并第一条
         */
        public final static String concat = "concat";



    }


    /**
     * 短信类型
     * 短信模版配置开关常量
     */
    /** 验证码 */
    public static final int SMS_CONFIG_TYPE_VERIFICATION_CODE = 1;

    //操作类型--登录
    public static final int SMS_OPERATE_LOG = 2;

    //操作类型-修改
    public static final int SMS_OPERATE_MODIFY = 3;

    //操作类型--注册
    public static final int SMS_OPERATE_REGISTER = 1;

    //操作类型--忘记密码
    public static final int SMS_OPERATE_FORGET = 4;

    /** 手机注册 验证码redis key */
    public static final String SMS_PHONE_REGISTER = "sms:phone:register:";
    /** 手机登录 验证码redis key */
    public static final String SMS_PHONE_LOG = "sms:phone:log:";
    /** 手机修改 验证码redis key */
    public static final String SMS_PHONE_MODIFY = "sms:phone:modify:";
    /** 手机忘记密码 验证码redis key */
    public static final String SMS_PHONE_FORGET = "sms:phone:forget:";
    /** 邮箱注册 验证码redis key */
    public static final String SMS_EMAIL_REGISTER = "sms:email:register:";
    /** 邮箱登录 验证码redis key */
    public static final String SMS_EMAIL_LOG = "sms:email:log:";
    /** 邮箱修改 验证码redis key */
    public static final String SMS_EMAIL_MODIFY = "sms:email:modify:";
    /** 邮箱忘记密码 验证码redis key */
    public static final String SMS_EMAIL_FORGET = "sms:email:forget:";



}
